package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.dto.UserDto;
import com.qf.pojo.SysUserInfo;

/**
 * created by 赵文韬 on 2022/3/14 16:48
 */
public interface SysUserService {
    SysUserInfo findById(Long userId);
    PageInfo<SysUserInfo> findAll(int pageSize,int pageNum);
    void addUser(SysUserInfo sysUserInfo);
    //登录的接口需要返回一个user对象，参数时一个userDto
    SysUserInfo login(UserDto userDto);
}
